<?php //print_r($this->items);?>
<div class="col1 w920">
          <div class="w277 m10t float_left m30r">
            <div class="bg_tt text_tt p10t p25b p10l"> Nyheder </div>
            <?php for($i=0;$i<count($this->new);$i++){?>
               <?php if($i!=2){?>
                 <p class="p10l bd_dot_btm p2b p2t detail_content"> <a href="index.php?option=com_content&view=article&id=<?php echo $this->new[$i]->id ;?>&layout=new_detail&Itemid=2"><b><?php echo $this->new[$i]->title ;?></b></a><br />
                 <span> <?php $str=str_replace("<p>","",$this->new[$i]->introtext);$str=str_replace("</p>","",$str);/*$str=substr($str,0,50)*/echo $str .".........";?> </span> </p>
               <?php }else{?>
                <p class="p10l p2b p2t detail_content"> <a href="index.php?option=com_content&view=article&id=<?php echo $this->new[$i]->id ;?>&layout=new_detail&Itemid=2"><b><?php echo $this->new[$i]->title ;?></b></a><br />
                <span> <?php $str=str_replace("<p>","",$this->new[$i]->introtext);$str=str_replace("</p>","",$str);/*$str=substr($str,0,50);*/echo $str.".........";?> </span> </p>
               <?php }?>
               
            <?php }?>
            <a href="index.php?option=com_content&view=category&id=6&layout=new&Itemid=6" style="float:right;text-decoration: underline;color:#000099">Se alle</a>
            <br class="clear">
            <!--  
            <p class="p10l bd_dot_btm p10b p5t detail_content"> <a href="nyheder_detail.html"><b>Salgskonsulent søges</b></a><br />
              <span> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis congue augue a diam amet </span> </p>
            
            
            -->
          </div>
          <div class="w277 m10t float_left m30r">
            <div class="bg_tt text_tt p10t p25b p10l"> <?php echo $this->items[2]->title ;?> </div>
            <div class="p10l  p5t detail_content">
              <div class="img_bg float_left">
                <div class="img_content"> <img width="106" height="144" src="<?php echo $this->items[2]->article_image ;?>" alt="" /> </div>
              </div>
              <p style="float:left; width:130px;margin-left:5px;"> 
              <?php $str=str_replace("<p>","",$this->items[2]->introtext);$str=str_replace("</p>","",$str);echo $str ; ?>
                <a href="index.php?option=com_content&view=article&id=<?php echo $this->items[2]->id ;?>&Itemid=1">mere...</a> 
              </p>
              <br class="clear_left" />
            </div>
          </div>
          <div class="w277 m10t float_left">
            <div class="bg_tt text_tt p10t p25b p10l"> <?php echo $this->items[1]->title ;?> </div>
            <div class="p10l  p5t detail_content cts">
              <p> 
               <?php echo $this->items[1]->introtext ; ?>
              <a href="index.php?option=com_content&view=article&id=<?php echo $this->items[1]->id ;?>&Itemid=1">mere...</a><br><br>
              <img width="258" height="72" src="<?php echo $this->items[1]->article_image ;?>" alt="" />
              </p>
            </div>
          </div>
          <div class="clear"></div>
        </div>
        <div>
          <div class="w277 m10t float_left m30r">
            <div class="bg_tt1 text_tt p10t p25b p10l"> <?php echo $this->items[0]->title ;?> </div>
            <div class="p10l p10b p5t detail_content contact">
              <p> <img src="templates/mwc_energitek/img/small.jpg" alt="" /> 
                <?php echo $this->items[0]->introtext ;?>
              </p>
            </div>
          </div>
          <div class="energy_lite float_left m10t" >
              <div class="w27 float_left" style="width:280px;">
            <div class="bg_tt1  text_tt p10t p25b p10l"> <?php echo $this->items[3]->title ;?> </div>
            <div class="p10l p10b p5t detail_content">
              <div class="float_left m5r">
                <a href="http://energy-line.dk/" target="blank"><img src="templates/mwc_energitek/img/btn_login1.png" alt="" /></a>
              </div>
              <p style="float:left; width:150px;margin-left:5px;"> <?php  $str=str_replace("<p>","",$this->items[3]->introtext);$str=str_replace("</p>","",$str); echo $str ;?>  <br>
                <a href="index.php?option=com_content&view=article&id=20&Itemid=32">mere...</a> </p>
              <br class="clear_left" />
            </div>
          </div>
          </div>
          <div class="clear_left"></div>
        </div>